package com.jeeplus.modules.statistics.mapper;

import com.jeeplus.modules.statistics.model.domain.WaitingTimeCount;
import com.jeeplus.modules.statistics.model.query.StatisticsQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName: WaitingTimeMapper
 * Function:  排号等待时间
 * Date:      2021/3/4 13:33
 *
 * @author hanKongbin
 * version    V1.0
 */
@Mapper
@Repository
public interface WaitingTimeMapper {

    /**
     * 平均等待时间统计
     *
     * @param query
     * @return
     */
    List<WaitingTimeCount> avgTimeStatistics(StatisticsQuery query);

    /**
     * 平均等待时间统计
     *
     * @param query
     * @return
     */
    List<WaitingTimeCount> avgWinTime(StatisticsQuery query);




    /**
     * 当天未办理办件
     * @param query
     * @return
     */
    List<WaitingTimeCount> notProcessed(StatisticsQuery query);
}
